package com.firstgroup.controller;

import com.firstgroup.domain.OperationRecord;
import com.firstgroup.domain.QuessionBank;
import com.firstgroup.service.OperationRecordService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "操作记录类")
@RestController
@RequestMapping("/operationRecord")
public class OperationRecordController {
    @Autowired
    OperationRecordService ope;


    @RequestMapping(value = "/findOperationRecordByStudentId",method = RequestMethod.GET)
    @ApiOperation(value = "遍历面试题库")

    public List<OperationRecord> findOperationRecordByStudentId(String studentId){
        List<OperationRecord> list= ope.findOperationRecord(studentId);

        return list;
    }
}
